request
Type
command
Summary
The request data gets information from another application via Apple Events.
Syntax
request <expression> {of | from} {program | application} <programAddress>
Description
Use the request command to obtain data from another application via the eval Apple Event.
For more information about Apple events, refer to the section entitled "Apple Events Sent by the Mac OS" in the technical documentation section located on [Apple's website] (https://developer.apple.com/documentation/coreservices/apple_events).
Parameters
Name | Type | Description |
---|---|---|
expression | The string you're asking the other application to evaluate. Its exact format and meaning depends on the other application. | |
programAddress | The AppleTalk address of the other program. The AppleTalk address consists of three parts, separated by colons: the zone the other computer is in, the name of the computer, and the name of the target program. If the other computer is in the same zone as yours, you can omit the zone. If the other program is running on the same computer, you can omit both the zone and the computer name. |
Examples
request "the hilite of button 3" from program "HyperCard"
request field "Appname" from program "Ozone:Geek Paradise:FileMaker"
Related
command: send to program
control structure: function
glossary: command, variable, Apple Event
keyword: it
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
Platforms
desktop
server